package com.xuecheng.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author 小班哥
 * @version 1.0
 * @date 2023/4/15 17:26
 * @description 绑定媒资信息请求数据DTO
 */

@Data
@ApiModel(value = "BindTeachplanMediaDto" , description = "\"教学计划-媒资绑定提交数据")
public class BindTeachplanMediaDto {

//    @NotNull(message = "媒资文件名称不能为空")
    @ApiModelProperty(value = "媒资文件名称" ,required = true)
    private String fileName;

//    @NotNull(message = "媒资文件ID不能为空")
    @ApiModelProperty(value = "媒资文件ID" ,required = true)
    private String mediaId;

//    @NotNull(message = "课程计划标识不能为空")
    @ApiModelProperty(value = "课程计划标识" ,required = true)
    private long teachplanId;

}
